home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Night Owl 6
/
Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso
/
033a
/
dlcv500.zip
/
DLCOUNT.DOC
< prev
next >
Wrap
Text File
|
1991-02-25
|
5KB
|
100 lines
DLCOUNT version 5.00 by Bob Landon 25 February 91
This program began as a modification of the program DLCOUNT by J. Brad
Hicks to force the count string into a specific column in FILES.BBS at
the end of the description, or at the beginning. The column to use can
be chosen at run time through a second parameter or set to 52 by
default. The program has evolved to support Binkley file requests, and
Maximus CBCS. Beginning with version 5.00, DLCOUNT can be run after each
user logs off. The program creates a file LASTDLC.DAT in the same
directory as the log file, to keep track of where it is in the log. To
insure correct counting, simply delete the file LASTDLC.DAT after you
delete your log file. The syntax is:
DLCOUNT <filename>[<column>] [/D] [/Sx]
... where filename is the drive, path, name and extension (i.e.
C:\OPUS\OPUS.LOG) of your OPUS or OPUS/Binkley log file, and
column is the physical column in FILES.BBS where you want the
D/L count to be placed. The column value will default to 52 if
no parameter is provided, a non numeric is provided, or if a
non-zero value which less than 50 or greater than 74. What ever
value you select (except 0), the program will TRUNCATE the
lines in FILES.BBS when it inserts the count. If you use zero
as the parameter, the counts will be placed in the beginning of
the description (like DCOUNT). The "/D" parameter, if present,
causes DLCOUNT to ignore the OPUS DISPLAY log lines. The "/S"
parameter selects the "front of line" count delimiters ONLY IF
you set the column to 0.
/S1 sets the delimiters to "< >"
/S2 sets the delimiters to "( )"
/S3 sets the delimiters to "{ }"
/S4 sets the delimiters to ": :"
Bob Landon
Maximus 1.02, FidoNet 1:260/210 (716-381-8538) 3-12-24-9600 DS
32 Warder Drive, Pittsford, NY, 14534-3127 USA
examples:
Assuming the log file OPUS.LOG found in C:\OPUS\ contains the following:
= 04 May 20:04:26 OPUS DL-X d:\file\commo\forms.arc
and the FILES.BBS in directory D:\FILE\COMMO\ contains the following:
FORMS.ARC Forms Generator -nice, easy to use, ibm graphics
The line will be updated as follows:
1) DLCOUNT C:\OPUS\OPUS.LOG 0 /S3
FORMS.ARC ( 1)FORMS.ARC Forms Generator -nice, easy to use, ibm graphics
2) DLCOUNT C:\OPUS\OPUS.LOG 56
FORMS.ARC Forms Generator -nice, easy to use, ibm graph : 1
This program is guaranteed do nothing for you except take up disk space
and CPU cycles. It is released to the public domain in the same spirit
that OPUS v1.03b and Maximus 1.02 are - you may use it free as long as
you use it in a lawful and friendly manner.
DLCOUNT v4.0 is a rewrite to Turbo Pascal v5.5 and corrects a bug in the
original code which would occasionally insert a count on blank lines in
the Files.BBS. Thanks to Jerry Pults of 147/17 for reporting this one.
Also in this version has counting compatible with DCOUNT21 - i.e. the
counts will be placed between the file name and the description, without
line truncation, on any length up to 240 characters. The program also
will work on files sent via Binkley as file requests.
DLCOUNT v4.11 is a bug fix for users of FILEMAN and similar area managers
which reformat the FILES.BBS lines. DLCOUNT will now compute the
proper column for the count based on the difference between the actual
location of the first description character and the theorectical
location (out to column 14). OPUS tries to line up the descriptions
when it inserts them into FILES.BBS. FILEMAN deletes all the blanks
between the filename/extension and the description except one.
DLCOUNT v4.20 fixes a bug in v4.11 that incorrectly positioned the end
of line counts the first time a file was updated when the file
description begins one blank space after a name/extension less than 12
characters long. (??) Also added is the repositioning feature - DLCOUNT
will put the count in the column specified regardless of where it found
the count value (on update only). DLCOUNT also can be made to ignore
the DISPLAY log entries using the /D command line switch.
DLCOUNT v4.31 opened up the program to include logs created by Maximus.
DLCOUNT v4.40 added selectable delimiters
DLCOUNT v5.00 allows the download counts to be updated after each caller.
If you want to track your downloads by both counts and the last date
downloaded outside the FILES.BBS - get DLCOUNTF.EXE. It counts the
same way this program does, but saves the counts in a datafile not in
your FILES.BBS. It is available on the author's BBS by requesting
DLCF*.*.